# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=enabler
pkgver=1
pkgrel=7
pkgdesc='Attempts to find the enable password on a cisco system via brute force.'
arch=('x86_64' 'aarch64')
url='http://packetstormsecurity.org/cisco/enabler.c'
groups=('blackarch' 'blackarch-cracker')
license=('custom:unknown')
makedepends=('gcc')
depends=('glibc')
source=('https://dl.packetstormsecurity.net/cisco/enabler.c')
sha512sums=('d7242030ba722905db0757fdff281fae18001170eb8cde60aac3d0f65b93ce71f943b1d678d44fd2c5b41f369a58ce647325bbedbfcecdafc2486f5a3beafade')

build() {
  gcc $CFLAGS "$pkgname.c" -o $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

